import request from '@/utils/request'
import { memberApi } from '@/utils/comm'

// 查询飞员列表
export function listPilot(query) {
  return request({
    url: `${memberApi}/pilot/list`,
    method: 'get',
    params: query
  })
}

// 查询飞员详细
export function getPilot(id) {
  return request({
    url: `${memberApi}/pilot/` + id,
    method: 'get'
  })
}

